//
//  SelectAddress.h
//  ChampoinPeso
//
//  Created by mac on 2025/2/20.
//

#import <UIKit/UIKit.h>
#import "BRResultModel.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^CloseAction)(void);
typedef void(^AddressCommitAction)(NSArray<BRResultModel *> *resultModelArr);

@interface SelectAddress : UIView
@property  (nonatomic,strong)NSDictionary *source;
@property (nonatomic,strong)UIView *pView;
@property (nonatomic, copy) CloseAction closeAction;
@property (nonatomic, copy) AddressCommitAction dddressCommitAction;
-(void)setSource:(NSDictionary *)source name:(NSString *)name;
@end

NS_ASSUME_NONNULL_END
